const express = require('express');
const app = express();
app.get('/index', (req, res)=>{
    res.send('index page')
}).get('/about', (req, res) => {
    res.send('about page')
}).listen(3000, () => {
    console.log('启动成功')
});